package com.hk.webapp.vo;

import com.hk.webapp.annotations.validation.groupa.GroupA1;
import com.hk.webapp.annotations.validation.groupa.GroupA2;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.groups.Default;

/**
 * (C) Copyright 2017-2019
 * All rights reserved.
 * <p>
 * 小程序用户信息请求视图层对象
 *
 * @author DreamerCK
 * @date 2019-05-14 12:48
 **/
@Data
public class XcxUserInfoReqVo {

    @NotBlank(message = "请传入密文",groups = Default.class)
    private String encryptedDataStr;

    @NotBlank(message = "请传入初始向量",groups = GroupA1.class)
    private String iv;

    @NotBlank(message = "请传入会话ID",groups = GroupA2.class)
    private String sessionKey;

}
